/*
 * @Author: 许伟茂
 * @Description: 动态组件测试
 * @Date: 2021-02-24 10:43:34
 */
import React from 'react';

interface IProps {
  data: {
    name: string;
    remark: string;
  }
}

function DyComponentTest1(props: IProps) {
  const {name, remark} = props.data;
  return (
    <div>
      DyComponentTest1
      name: <span style={{marginRight: 10}}>{name}</span>
      remark: <span>{remark}</span>
    </div>
  );
}

export default DyComponentTest1;